<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class RolesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('roles')->delete();
        
        \DB::table('roles')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => '系统管理员',
                'code' => 'ADMIN',
                'dataScope' => 1,
                'status' => 1,
                'sort' => 1,
                'menuIds' => '[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75]',
                'createTime' => '2025-11-05 06:51:18',
                'updateTime' => '2025-11-14 03:31:37',
            ),
            1 => 
            array (
                'id' => 2,
                'name' => '访问游客',
                'code' => 'GUEST',
                'dataScope' => 4,
                'status' => 1,
                'sort' => 3,
                'menuIds' => '[1, 35]',
                'createTime' => '2025-11-05 07:41:33',
                'updateTime' => '2025-11-11 13:58:33',
            ),
        ));
        
        
    }
}